EN FR
EN FR


Section: New Results

A compiler for OBERON-0

Tijs van der Storm led the participation of ATEAMS in the LDTA Tool Challenge 2011. This was a collaborative effort together with Atze van der Ploeg, Mark Hills, Bas Basten, Paul Klint, Bert Lisser, Jeroen van den Bos, Jurgen Vinju and Arnold Lankamp. The objective of the challenge was to implement all aspects of a simple, imperative language called Oberon-0. The components that had to be implemented included: parsing, pretty printing, name analysis, type checking, and compilation to C. Additionally, the components should be developed in a modular fashion according to four language levels: each language level added more language features and required the modular extension of the components. Although not required for the challenge, we also developed a compiler targeting Java, a compiler targeting JVM byte code, a control-flow graph visualizer, and IDE support. The implementation required only around 4200 lines of Rascal code. The result was presented at the international workshop on Language Descriptions Tools and Applications.